github.com/gotd/td/internal/mtproto.Conn.clock (field)
11 uses
github.com/gotd/td/internal/mtproto (current package)
ack.go#L27: ticker := c.clock.Ticker(c.ackInterval)
conn.go#L63: clock clock.Clock
conn.go#L125: clock: opt.Clock,
connect.go#L33: start := c.clock.Now()
connect.go#L39: zap.Duration("duration", c.clock.Now().Sub(start)),
connect.go#L77: WithClock(c.clock).
handle_session_created.go#L20: now := c.clock.Now()
ping.go#L101: ticker := c.clock.Ticker(c.pingInterval)
read.go#L63: if err := checkMessageID(c.clock.Now(), msg.MessageID); err != nil {
salt.go#L26: salt, ok := c.salts.Get(c.clock.Now().Add(time.Minute * 5))
salt.go#L62: ticker := c.clock.Ticker(c.saltFetchInterval)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |